<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- <title>Insert title here</title> -->
</head>
		<meta charset="UTF-8">
		<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
		<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
		<meta HTTP-EQUIV="expires" CONTENT="0">
		<!-- css -->
		<link rel="stylesheet" href="../../plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../css/global.css" media="all">
		<link rel="stylesheet" href="../../plugins/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="../../css/table.css" />

		<!-- JS -->
		<script type="text/javascript" src="../../plugins/layui/layui.js"></script>
		<script src="../../jqery/jquery.js"></script>
		<script type="text/javascript" src="../../../commons/base.js"></script>
		<script type="text/javascript" src="../../js/appVersion/app_version_edit.js"></script>

		<script type="text/javascript" src="../../My97DatePicker/WdatePicker.js"></script>
<body>
	<div style="margin: 15px;">
	<form class="layui-form" id="appForms" >
		<input type="hidden" name="appVersionId" id="appVersionId">
		<div class="layui-form-item">
			<label class="layui-form-label">APP类型</label>
			<div class="layui-input-inline">
				<select lay-verify="required" name="appType" id="appType">
					<option value="">请选择</option>
					<option value="1">iPhone</option>
					<option value="2">iPad</option>
					<option value="3">Android</option>
					<option value="4">微信</option>
					<option value="5">H5</option>
				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">更新类型</label>
			<div class="layui-input-inline">
				<select lay-verify="forcedUpdate" name="forcedUpdate" id="forcedUpdate">
					<option value="">请选择</option>
					<option value="0">常规更新</option>
					<option value="1">强制更新</option>
				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">版本号</label>
			<div class="layui-input-inline">
				<input id="versionNumber" type="text" name="versionNumber"   placeholder="版本号" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">下载地址</label>
			<div class="layui-input-block">
				<input id="downloadUrl" type="text" name="downloadUrl"   placeholder="下载地址" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">更新描述</label>
			<div class="layui-input-block">
				<input id="changeDesc" type="text" name="changeDesc"   placeholder="更新描述" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">状态</label>
			<div class="layui-input-inline">
				<select lay-verify="state" name="state" id="state">
					<option value="">请选择</option>
					<option value="0">失效</option>
					<option value="1">有效</option>
					<option value="9">已删除</option>
				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">版本标签</label>
			<div class="layui-input-inline">
				<select lay-verify="tag" name="tag" id="tag">
					<option value="">请选择</option>
					<option value="1">生产</option>
					<option value="2">预发布</option>
					<option value="3">测试</option>
				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">是否弹窗</label>
			<div class="layui-input-inline">
				<select lay-verify="popup" name="popup" id="popup">
					<option value="">请选择</option>
					<option value="1">弹窗</option>
					<option value="2">不弹窗</option>
				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">更新开始时间</label>
			<div class="layui-input-inline">
				<input id="beginTime" type="text" name="beginTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  placeholder="更新开始时间" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">更新结束时间</label>
			<div class="layui-input-inline">
				<input id="endTime" type="text" name="endTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  placeholder="更新结束时间" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<input id="remark" type="text" name="remark"   placeholder="备注" autocomplete="off" class="layui-input">
			</div>
		</div>

		<button lay-submit lay-filter="save"  class="layui-btn" id="save_bt" style="margin-left: 180px;margin-top: 50px;" >保存</button>
		<button class="layui-btn layui-btn-normal" id="off_bt" onclick="closeIfrname()"  style="margin-left: 60px;margin-top: 49px;">取消</button>
		
	</form>
</div>
</body>
</html>